Read(Byte[],Int32,Int32) Method
In This Topic
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
Syntax
'Declaration
Public Overloads Overrides Function Read( _
ByVal () As System.Byte, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Integer
public override System.int Read(
System.byte[] ,
System.int ,
System.int
)
Parameters
- buffer
- An array of values to be read from the stream.
- offset
- The zero-based byte offset in buffer at which to begin storing the data read from the current stream.
- count
- The maximum number of bytes to be read from the current stream.
Return Value
The number of bytes read from the stream.
Exceptions
Exception | Description |
System.NotSupportedException | This stream does not support reading. |
See Also